<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>图文消息详情</title>
</head>
<body>
<div class="pageheader">
    <h2>图文回复</h2>
</div>
<div class="contentpanel">
    <div class="panel panel-default">
        <div class="form-horizontal form-bordered">
            <div class="form-group">
                <label class="col-sm-3 control-label">关键字</label>

                <div class="col-sm-6">
                    <p class="form-control-static"> ${formDto.keyWord}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">消息类型</label>

                <div class="col-sm-6">
                    <p class="form-control-static">${formDto.msgType.label}</p>
                </div>
            </div>
            <c:forEach items="${formDto.articleList}" var="item" varStatus="status">
                <div class="well">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">标题</label>

                        <div class="col-sm-6">
                            <p class="form-control-static">${item.title}</p>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">正文</label>

                        <div class="col-sm-6">
                            <p class="form-control-static"> ${item.description}</p>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">回复图片</label>

                        <div class="col-sm-6">
                            <p class="form-control-static"><img src="${item.picUrl}" width="200px" height="200px"/></p>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">点击图片后跳转的地址</label>

                        <div class="col-sm-6">
                            <p class="form-control-static"> ${item.url}</p>
                        </div>
                    </div>
                </div>

            </c:forEach>
            <div class="form-group">
                <label class="col-sm-3 control-label"></label>

                <div class="col-sm-6">
                    <button class="btn btn-primary" onclick="window.history.back()">返回</button>
                </div>
            </div>
        </div>
    </div>
</div>


</body>
</html>